/* eslint-disable */
import Axios from './axios'
export * from './constant'
export default Axios

class Api {
    /* 文件上传接口 */
    uploadImage = (data) => {
        const formData = new window.FormData()
        formData.append('file', data.file)
        formData.append('networkId', undefined)
        formData.append('bizkey', 'crm')
        return api.post(`/docrest/file/uploadfile`, formData)
    }
}
